package com.hdc.hdc.warehouseManage.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="inorder_goods")
public class InorderAndGoods implements Serializable{
	
	private static final long serialVersionUID = 4925350371722459695L;

	@Id
	@Column(name="id")
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	private String id;
	
	@Column(name="inorder_num")
	private String inordernum;
	
	@Column(name="to_goods_id")
	private String toGoodsId;
	
	@Column(name="goods_name")
	private String goodsName;
	
	@Column(name="goods_desc")
	private String goodsDesc;
	
	@Column(name="goods_price")
	private Double goodsPrice;
	
	@Column(name="goods_num")
	private Long goodsNum;
	
	@Column(name="goods_sku")
	private String goodsSku;
	
	@Column(name="goods_unit")
	private String goodsUnit;
	
	/*
	 * 生产日期
	 */
	@Column(name="goods_produce_date")
	private Date goodsProduceDate;
	
	/*
	 * 保证期
	 */
	@Column(name="goods_period")
	private Integer goodsPeriod;
	
	/*
	 * 供应商
	 */
	@Column(name="goods_supplier")
	private String supplier;
	
	@Column(name="goods_supplier_name")
	private String supplierName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getInordernum() {
		return inordernum;
	}

	public void setInordernum(String inordernum) {
		this.inordernum = inordernum;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsDesc() {
		return goodsDesc;
	}

	public void setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
	}

	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Long getGoodsNum() {
		return goodsNum;
	}

	public void setGoodsNum(Long goodsNum) {
		this.goodsNum = goodsNum;
	}

	public String getGoodsSku() {
		return goodsSku;
	}

	public void setGoodsSku(String goodsSku) {
		this.goodsSku = goodsSku;
	}

	public String getGoodsUnit() {
		return goodsUnit;
	}

	public void setGoodsUnit(String goodsUnit) {
		this.goodsUnit = goodsUnit;
	}

	public Date getGoodsProduceDate() {
		return goodsProduceDate;
	}

	public void setGoodsProduceDate(Date goodsProduceDate) {
		this.goodsProduceDate = goodsProduceDate;
	}

	public Integer getGoodsPeriod() {
		return goodsPeriod;
	}

	public void setGoodsPeriod(Integer goodsPeriod) {
		this.goodsPeriod = goodsPeriod;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getToGoodsId() {
		return toGoodsId;
	}

	public void setToGoodsId(String toGoodsId) {
		this.toGoodsId = toGoodsId;
	}
}
